import request from '@/utils/request'

/**
 * es查询
 */
export function findEsGateRecord(data){
  return request({
    url: '/community-es/es/gateRecord/search',
    method: 'post',
    data
  })
}

/**
 * 批添门禁记录
 * @param data
 * @returns {*}
 */
export function bachSaveGateRecord(data) {
  return request({
    url: '/community-data-warehouse/gateRecord/bachSaveGateRecord',
    method: 'post',
    data: data
  })
}

/**
 * 批删门禁记录
 * @param data
 * @returns {*}
 */
export function batchDel(data) {
  return request({
    url: '/community-data-warehouse/gateRecord/batchDel',
    method: 'post',
    data: data
  })
}

